package com.telit.firecommand.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * fire_disposal_info
 *
 * @author
 */
@ApiModel(value = "FireDisposalInfo")
@Data
public class FireDisposalInfo implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 处置时间
     */
    @ApiModelProperty(value = "处置时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date disposeTime;

    /**
     * 处置人
     */
    @ApiModelProperty(value = "处置人")
    private String disposePerson;

    /**
     * 处置机构
     */
    @ApiModelProperty(value = "处置机构")
    private String disposeOrg;

    /**
     * 处置意见
     */
    @ApiModelProperty(value = "处置意见")
    private String disposeOpinion;

    /**
     * 火情表id
     */
    @ApiModelProperty(value = "火情表id")
    private Long fireId;

    private static final long serialVersionUID = 1L;

}